
const dynamicRouters=[
    {
        path: "/",
        name: "home",
        redirect:'welcome',
        component: () => import(/*webpackChunkName:'home'*/ "../pages/Home"),
        children:[
          {
            path:"pre_order",
            name:"pre_order",
            component: () => import(/*webpackChunkName:'preOrder'*/ "../pages/Home/PreOrder"),
            meta:{
                name:"预支付"
            }
          },
          {
            path:"payment",
            name:"payment",
            component: () => import(/*webpackChunkName:'payment'*/ "../pages/Home/payMent"),
            meta:{
                name:"支付主页"
            },
            children:[
              {
                path:"pay",
                name:"pay",
                component: () => import(/*webpackChunkName:'pay'*/ "../pages/Home/payMent/pay"),
                meta:{
                    name:"支付页"
                },
              },
              {
                path:"paysuccess",
                name:"paysuccess",
                component: () => import(/*webpackChunkName:'paySuccess'*/ "../pages/Home/payMent/paySuccess"),
                meta:{
                    name:"支付成功页"
                },
              },
            
            ]
          }
        ]
      },
      {
        path:"*",
        component: () => import(/*webpackChunkName:'home'*/ "../pages/Page404"),
      }, 
      
        
]
export default dynamicRouters